<template>
    <div class="welcome-container">
        <header class="welcome-header">
            <h1>欢迎来到红叶网站</h1>
            <div class="subtitle">您的在线工具与导航助手</div>
        </header>

        <main class="welcome-content">
            <section class="intro-section">
                <h2>网站简介</h2>
                <p>红叶网站致力于为您提供便捷的在线工具和网络导航服务，让您的网上冲浪更加高效轻松。</p>
            </section>

            <section class="features-section">
                <h2>主要功能</h2>
                <div class="features-grid">
                    <div class="feature-card">
                        <h3>实用工具集</h3>
                        <p>提供各类常用在线工具，助您提高工作效率</p>
                    </div>
                    <div class="feature-card">
                        <h3>智能导航</h3>
                        <p>精选优质网站，为您提供便捷的上网导航</p>
                    </div>
                    <div class="feature-card">
                        <h3>资源分享</h3>
                        <p>优质资源整合，助您快速找到所需内容</p>
                    </div>
                </div>
            </section>
        </main>
    </div>
</template>

<script lang="ts">
export default {
    name: 'WelCome',
}
</script>

<style scoped>
.welcome-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.welcome-header {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    color: #666;
    font-size: 1.2rem;
}

.intro-section {
    margin-bottom: 3rem;
    text-align: center;
}

.intro-section p {
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.4;
}
</style>